package test;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.Set;

public class Demo1 {

    public static void main(String[] args) {

        ArrayList<Integer> list = new ArrayList<>(new ArrayList<>());

        list.add(1);

        list.addAll(new ArrayList<>());
    }
}
